[e2e] TIP pers: Fix Simulation run checks#9043
[e2e] TIP pers: Fix Simulation run checks#9043odeimaiz merged 2 commits intoITISFoundation:masterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the TIP personalized plan Playwright E2E test to tolerate missing button <i> icons when checking for simulation/export completion, aiming to reduce flakiness around export/setup button state detection.
Changes:
- Wrap setup button icon evaluation in a
try/except PlaywrightErrorand treat missing icon as “likely completed”. - Wrap export button icon evaluation in a
try/except PlaywrightErrorand treat missing icon as “likely completed”.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9043 +/- ##
==========================================
- Coverage 86.33% 82.52% -3.81%
==========================================
Files 2004 1965 -39
Lines 78474 75884 -2590
Branches 1451 1451
==========================================
- Hits 67751 62624 -5127
- Misses 10318 12848 +2530
- Partials 405 412 +7
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|



What do these changes do?
When the button icon element disappears from the DOM after the simulation/export finishes it means that the Simulations finished and the Export is done. This PR fixes those handles.
Related issue/s
How to test
Dev-ops